package com.wtwd.campus.h5_manager.common;

/**
 * @Author: mjy
 * @DateTime: 2022/3/4
 * @Description:
 */
public class Constant {

    /**
     * 登录请求头携带用户token令牌
     */
    public static final String H5_MANAGE_TOKEN_KEY = "AccessToken";

    /**
     * 用户登录redis村粗key值
     */
    public static final String H5_MANAGE_USER_LOGIN_KEY_PREFIX = "H5_MANAGE_USER_LOGIN_KEY_PREFIX_";

    /**
     * token=过期时长
     */
    public static final long TOKEN_EXPIRE = 3000L;     // token过期时间  30分钟

    /**
     * 默认管理员角色id
     */
    public static final int SYS_MANAGE_USER_ROLE_TYPE_ADMIN = 1;


    /**
     * 默认超管角色名称
     */
    public static final String SYS_MANAGE_USER_ROLE_NAME_ADMIN = "管理员";

    /**
     * 默认客户角色id
     */
    public static final int SYS_MANAGE_USER_ROLE_TYPE_CUSTOMER = 2;

    /**
     * 默认客户角色名称
     */
    public static final String SYS_MANAGE_USER_ROLE_NAME_NAME = "客户";

    /**
     * 默认管理员 客户id
     */
    public static final int H5_MANAGE_CUSTOMER_ADMIN = 10;

    /**
     * 威科姆客户id
     */

    public static final int VCOM_CUSTOMER_ADMIN = 1;

    /**
     * 威科姆设备类型
     */

    public static final int VCOM_DEVICE_TYPE=5;


    /**
     * 默认总部 客户名称
     */
    public static final String H5_MANAGE_CUSTOMER_NAME = "总部";


    /**
     * 设备默认H5类型
     */
    public static final int H5_DEVICE_TYPE = 3;

}
